package com.sky.mapper.imapper;

import java.util.List;
import java.util.Map;

import com.sky.mapper.model.User;

/**
 * 用户mapper接口
 * @author Administrator
 *
 */
public interface UserMapper {
	
	/**
	 * 添加用户
	 * @param u 
	 */
	public void add(User u);

	/**根据账户密码查找用户
	 * @param u
	 * @return
	 */
	public List<User> check(User u);

	public List<User> query(Map<String, Object> param);

	public void delete(int uid);

	public void update(User u);
	
}
